//
//  DesignVCModel.m
//  项目A --半糖
//
//  Created by romana on 16/5/17.
//  Copyright © 2016年 romana. All rights reserved.
//

#import "DesignVCModel.h"
#import "DesignSecondModel.h"

@implementation DesignVCModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{

}

-(void)setTopic:(NSMutableArray *)topic{

    _topic = topic;
    NSMutableArray *array = [NSMutableArray array];
    for (NSDictionary *dic in _topic) {
        DesignSecondModel *designModel = [[DesignSecondModel alloc] init];
        [designModel setValuesForKeysWithDictionary:dic];
        [array addObject:designModel];
    }
    _topic = [NSMutableArray arrayWithArray:array];

}

@end
